clear;

i1 = [0 0 0 1 0 0 0 0];
i2 = [1 2 3 2 0];

f = imfilter(i1,i2);
f_full = imfilter(i1,i2,'full');
f_same = imfilter(i1,i2,'same');

c = conv2(i1,i2);
c_full = conv2(i1,i2,'full');
c_same = conv2(i1,i2,'same');
